﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using SharpEntities;

namespace SharpEntitiesTest
{
    [TableMapping("OrderDetails")]
    public class OrderDetails
    {
        [PrimaryKey]
        [ColumnMapping("OrderID")]
        public int OrderId { get; set; }

        [PrimaryKey]
        [ColumnMapping("ProductID")]
        public int ProductId { get; set; }

        [ColumnMapping("UnitPrice")]
        public double UnitPrice { get; set; }

        [ColumnMapping("Quantity")]
        public int Quantity { get; set; }

        [ColumnMapping("Discount")]
        public double Discount { get; set; }


    }
}
